#pragma once


#include "imgui/imgui.h"
#include <iostream>

namespace ImGui
{


	struct Modal {

		bool m_Open = false;
		ImGuiWindowFlags m_Flag= ImGuiWindowFlags_NoMove;
		std::string m_Title;
		bool m_IsFocused;
		bool m_IsHovered;


		virtual void ViewFunc();
		virtual void HandleFunc();
		void Handle();
		void Inst();
		void Open();
		void Close();
		Modal(const std::string& title, ImGuiWindowFlags flag = 0);
	};
};